vacuumdb exclude tables option?
От | Joel Stevenson |
---|---|
Тема | vacuumdb exclude tables option? |
Дата | |
Msg-id | p06230915c0ffd2f2d63b@[192.168.0.9] обсуждение исходный текст |
Ответы |
Re: vacuumdb exclude tables option?
Re: vacuumdb exclude tables option? |
Список | pgsql-admin |
Hi, I have a database that includes both highly transactional tables and archive tables - OLTP and OLAP mixed together. Some of the archival tables, which only experience inserts and reads, not updates or deletes, contain many millions of rows and so they take a *long* time to vacuum. Is there currently any means to exclude only these tables from vacuumdb operations other than explicitly vacuuming all the other tables and explicity skipping the archival tables? If not, are there any plans to add a command line switch to vacuumdb to exclude tables from it's operation, ala 'vacuumdb -d mytest -x archive_tab1 -x archive_tab2 -x archive_tab3'? I searched the list archives but didn't see anything about being able to do this. Something like this would save many hours of useless vacuuming in this particular setup. TIA, Joel
В списке pgsql-admin по дате отправления: